		/** @file unittest3.c
		*	@brief whoseTurn() tests
		*/


#include "dominion.h"
#include "dominion_helpers.h"
#include <assert.h>
#include <stdio.h>
#include <limits.h>

int main(int argc, char **argv )
{

	printf("Running tests for whoseTurn().\n");


int nPlayers = MAX_PLAYERS;
int k[]      = {adventurer,
				council_room,
				feast,
				gardens,
				mine,    
				remodel,
				smithy,    
				village,     
				baron,    
				great_hall  };
int seed = 2;				
struct gameState g1;

initializeGame(nPlayers, k, seed, &g1);


for(int i = 0; i < 25; i++){
	int p = i % nPlayers;
	assert(whoseTurn(&g1) == p);
	endTurn(&g1);
}



printf("Tests for whoseTurn() passed.\n");


}
